﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;

public class TestMain : MonoBehaviour
{
    public Button BtnSvr;
    public Button BtnCli;

    // Start is called before the first frame update
    void Start()
    {
        BtnSvr.onClick.AddListener(()=> {
            SceneManager.LoadScene("test_svr");
        });

        BtnCli.onClick.AddListener(() => {
            SceneManager.LoadScene("test_cli");
        });
    }
}
